package cn.hs.mapper;

import cn.hs.entity.Article;
import cn.hs.entity.Publicity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName PublicityMapper
 * @Description TODO
 * @Author wsh
 * @Date 2024年10月23日 20:20
 * @Version 1.0
 */
@Repository
public interface PublicityMapper {
    //增删改查
    int insert(Publicity publicity);
    //删除
    int delete(Integer id);
    //修改
    int update(Publicity publicity);
    //查询所有
    List<Publicity> select(Publicity publicity);
}
